#include <header.h>

int main(){

    int fd = open("3.txt", O_RDWR);



    char buf[2] = {0};
    read(fd, buf, sizeof(buf));
    printf("buf: %s \n", buf);
    

    bzero(buf, sizeof(buf));
    read(fd, buf, sizeof(buf));
    printf("buf: %s \n", buf);

    bzero(buf, sizeof(buf));
    read(fd, buf, sizeof(buf));
    printf("buf: %s \n", buf);


    lseek(fd,  2, SEEK_SET);

    bzero(buf, sizeof(buf));
    read(fd, buf, sizeof(buf));
    printf("buf: %s \n", buf);

    close(fd);
    return 0;
}

